package com.github.pig.admin.model.zhgl.building;


public class CommunityBuildingTree {
    private String name;
    private String id;
    private Integer companyId;
    private String parentId;
    private String existUnit;
    /**
     * 类型1公司2部门 3园区
     */
    private String type;
    private boolean isLeaf;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getExistUnit() {
        return existUnit;
    }

    public void setExistUnit(String existUnit) {
        this.existUnit = existUnit;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isLeaf() {
        return isLeaf;
    }

    public void setLeaf(boolean leaf) {
        isLeaf = leaf;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }
}
